package yxm.zyf.love.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.plugin.core.config.EnablePluginRegistries;

import yxm.zyf.love.service.MobileIncrementBusiness;
import yxm.zyf.love.service.impl.MobileIncrementDiscount;
import yxm.zyf.love.service.impl.MobileIncrementV1;

@Configuration
@EnablePluginRegistries({MobileIncrementBusiness.class})
public class MobileConfig {


    @Bean
    public MobileIncrementV1 mobileIncrementV1(){
        return new MobileIncrementV1();
    }
    
    @Bean
    public MobileIncrementDiscount mobileIncrementDiscount(){
        return new MobileIncrementDiscount();
    }
}
